import 'package:distribution_mall_flutter/constant/cf_constant.dart';
import 'package:distribution_mall_flutter/constant/image_constant.dart';
import 'package:distribution_mall_flutter/generated/l10n.dart';
import 'package:distribution_mall_flutter/pages/goods/product_details/widgets/modal_services.dart';
import 'package:distribution_mall_flutter/widgets/card.dart';
import 'package:distribution_mall_flutter/widgets/goods_item_card.dart';
import 'package:distribution_mall_flutter/widgets/navigation_item.dart';
import 'package:flutter/material.dart';
import 'package:modal_bottom_sheet/modal_bottom_sheet.dart';

class ContentSimilarity extends StatelessWidget {
  const ContentSimilarity({super.key});
  final EdgeInsets padding = const EdgeInsets.fromLTRB(EdgeConstant.edge15,
      EdgeConstant.edge15, EdgeConstant.edge10, EdgeConstant.edge15);
  final EdgeInsets margin = const EdgeInsets.symmetric(
      horizontal: EdgeConstant.edge20, vertical: EdgeConstant.edge10);

  Widget similarRender() {
    return Column(children: [
      EPNavigationItem(
        isLineNav: true,
        leftTextWidth: 150,
        padding: const EdgeInsets.only(bottom: EdgeConstant.edge10),
        leftText: S.current.productDetails_category,
        onTap: () {},
      ),
      const Row(mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [
        // EPGoodsItemCard(),
        // EPGoodsItemCard(),
        // EPGoodsItemCard(),
      ])
    ]);
  }

  @override
  Widget build(BuildContext context) {
    return EPCard(
        padding: padding,
        margin: margin,
        child: Column(
          children: [
            similarRender(),
            const SizedBox(height: 25, child: null),
            similarRender()
          ],
        ));
  }
}
